import http from './http.js';

// 获取分类
export function addArticle(params){
    return http.post('/api/add_article',params)
}
// 获取到到七牛云认证token
export function getSevenToken(){
    return http.post('/upload/token')
}
// 上传到七牛云
export function getSevenUpload(formdata){
    return http.post('https://upload-z1.qiniup.com',formdata)
}